﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;

namespace psafth.RCTiming.Main
{
    public class AsyncHelper
    {
        //public static void EnsureUIThread(Action action)
        //{
        //    if (Application.Current != null && !Application.Current.Dispatcher.CheckAccess())
        //    {
        //        Application.Current.Dispatcher.BeginInvoke(action, DispatcherPriority.Background);
        //    }
        //    else
        //    {
        //        action();
        //    }
        //}
    }
}
